/**   
* @Title: BusinessException.java 
* @Package com.element5th.shop.comm 
* @Description: 
* @author 第五小组  
* @date 2012-11-4 上午10:40:23 
* @version V1.0   
*/ 
package com.element5th.shop.comm;

/** 
 * @ClassName: BusinessException 
 * @Description: 
 * @author  第五小组
 * @date 2012-11-4 上午10:40:23 
 *  
 */
public class BusinessException extends Exception {
	
	
	private int id;
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/** 
	* @Fields serialVersionUID : serialVersionUID
	*/ 
	private static final long serialVersionUID = 1L;

	public BusinessException(int id, String message) {
		super(message);
		this.id = id;
	}

	/** 
	 * Title: 
	 * Description: 构造方法 
	 */
	public BusinessException() {
	}

	/** 
	 * Title: 
	 * Description: 构造方法
	 * @param message 
	 */
	public BusinessException(String message) {
		super(message);
	}

	/** 
	 * Title: 
	 * Description: 构造方法
	 * @param cause 
	 */
	public BusinessException(Throwable cause) {
		super(cause);
	}

	/** 
	 * Title: 
	 * Description: 构造方法
	 * @param message
	 * @param cause 
	 */
	public BusinessException(String message, Throwable cause) {
		super(message, cause);
	}

}
